package com.zxt.content.user.controller;

import com.zxt.content.user.resp.BUserVO;
import com.zxt.content.user.service.BUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import java.util.List;


@Slf4j
@RequestMapping("/user/system/")
@RestController
@AllArgsConstructor
@Api(tags = "用户管理接口")
public class UserController {

    private final BUserService bUserService;

    @GetMapping("/list")
    @ApiOperation(value = "用户测试接口", notes = "用户测试接口")
    private List<BUserVO> index() {
        return bUserService.query();
    }
}
